package com.biz.primus.model.oms.vo;

import com.biz.primus.model.oms.enums.OrderOperatorSource;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author yanweijin
 * @date 2017/11/8
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class OrderPostRequest extends OmsOperationRequest{

	@NotNull(message = "编号不能为空") @Size(max = 50,message = "编号长度不能超过50")
	@ApiModelProperty("当前单据编号")
	String code;

	/**
	 * 发起门店
	 */
	@ApiModelProperty("当前门店编号")
	String depot;

	/**
	 * 操作来源:
	 * depot 门店, cs 客服系统
	 */
	OrderOperatorSource source;

	/**
	 * 门店/客服备注,对应 selfRemark
	 */
	String remark;


}
